package com.yxplearn.mybatisplus.mybatisplus_simple.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxplearn.mybatisplus.mybatisplus_simple.pojo.User;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    List<User> getAllUser();

    IPage<User> selectPageByAge(Page<User> page, Integer ageLimit);
}
